package com.cgydu.utils;

/**
 * projectName: day25_store
 * author: CGY
 * time: 2020/8/26 9:49
 * description:
 */
public class Constants {

    //转发和重定向
    public static final String FORWARD_ACTION ="forward:";
    public static final String REDIRECT_ACTION ="redirect:";
    public static final String FLAG = ":";

    //json模型的状态
    public static final int MESSAGE_SUCCESS = 1;
    public static final int MESSAGE_FAIL = 0;

    //用户的激活状态

    public static final int ACTIVE_CODE = 1;
    public static final int NOT_ACTIVE_CODE = 0;


    public static final int COMMON_USER  = 1;
    public static final int ADMIN_USER = 0;


    public static final int HASED_ACTIVE  = 2;
    public static final int ACTIVE_SUCCESS = 1;
    public static final int ACTIVE_FAIL = 0;

    /**
     * 自动登录cookie名
     */
    public static final String AUTO_NAME = "autoUser";


}
